package com.tsingtree.modular.model.params;

import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 弹窗广告主表
 * </p>
 *
 * @author jagger
 * @since 2025-10-22
 */
@Data
public class NanPopupAdvertParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String createTime;

    private String updateTime;

    private Integer version;

    private String name;

    private Integer type;

    private String deviceId;

    private Integer status;

    private Integer sort;

    private BigDecimal delayHours;

    private Integer linkType;

    private String linkUrl;

    private Boolean isDel;

    // 查询参数
    private String field;

    private String order;

    // 广告内容项列表（用于新增和编辑）
    private List<NanPopupAdvertItemParam> items;

    // 广告内容项 JSON 字符串（前端传递）
    private String itemsJson;

}

